package com.cloud.service;

import com.cloud.model.User;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * @Author wangjian (jian.wang@bertelsmann.com.cn)
 * @Date 2016/12/20 11:21
 */

@FeignClient(name="springCloudClient")
public interface UserServiceClient {

    @RequestMapping(value = "/v1/user/userData", method = RequestMethod.POST)
    List<User> queryUserList();
}
